package org.erp.product.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.SuperBuilder;
import org.erp.common.basic.BaseEntity;

/**
 * 维修记录实体
 *
 * @author libin
 * @version 1.0
 * @description: 维修记录实体
 * @date 2025/11/13 15:56
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
@TableName(value = "repair_log", autoResultMap = true)
public class RepairLog extends BaseEntity {
    /**
     * 自增id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 产品id
     */
    private Long repairId;
    /**
     * 维修人
     */
    private String repairPerson;
    /**
     * 维修内容
     */
    private String repairContent;
    /**
     * 维修价
     */
    private Integer repairPrice;
}
